#使用content属性获取该图片对应的二进制数据，并将数据写入到本地文件中。
import requests
base_url = 'https://www.zhihu.com/signin'
header = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1'}

response = requests.get(base_url, headers=header)
response.encoding= 'utf-8'

print(response.text)
